package ar.edu.um.isa.facade;

import java.util.List;

import ar.edu.um.isa.manager.MicrobloggingManager;
import ar.edu.um.isa.model.Publication;
import ar.edu.um.isa.model.Publisher;

public class MicrobloggingFacade {
	
	MicrobloggingManager microbloggingManager;

	public void publish(Publication publication){
		microbloggingManager.publish(publication);
	}
	
	public List<Publication> findPublicationByPublisher(Publisher publisher){
		return microbloggingManager.findPublicationByPublisher(publisher);
	}
	
	public MicrobloggingManager getMicrobloggingManager() {
		return microbloggingManager;
	}

	public void setMicrobloggingManager(MicrobloggingManager microbloggingManager) {
		this.microbloggingManager = microbloggingManager;
	}
}
